package com.jianganming.state.pay;

public class CancelOrderState implements IState {
    private Context context = Context.getContext();

    @Override
    public void doAction(Order order) {
        context.addOrderState(OrderState.cancel_order);
        System.out.println("取消订单成功，订单号："+order.getOrderNumber()+" 商品："+order.getProductName());

    }
}
